package com.jltx.xq.simplewatch.news.model.bean;

import com.google.gson.Gson;
import com.google.gson.annotations.Expose;

import java.util.List;

/**
 * @author jltxseo
 * @date 2017/09/05.
 * @description:
 */

public class TopicNewsVideoEntity {
    /**
     * group_flags : 32832
     * video_type : 0
     * video_preloading_flag : 1
     * video_url : []
     * direct_play : 1
     * detail_video_large_image : {"url":"http://p1.pstatp.com/video1609/2130000392cc3ddb8076","width":580,"url_list":[{"url":"http://p1.pstatp.com/video1609/2130000392cc3ddb8076"},{"url":"http://pb3.pstatp.com/video1609/2130000392cc3ddb8076"},{"url":"http://pb9.pstatp.com/video1609/2130000392cc3ddb8076"}],"uri":"video1609/2130000392cc3ddb8076","height":326}
     * show_pgc_subscribe : 1
     * video_third_monitor_url :
     * video_id : eb0eab0d76274b13a3fd0649ba1d0f74
     * video_watching_count : 0
     * video_watch_count : 657298
     */
    @Expose
    public int group_flags;

    @Expose
    public int video_type;

    @Expose
    public int video_preloading_flag;

    @Expose
    public int direct_play;

    @Expose
    public TopicNewsImageEntity detail_video_large_image;

    @Expose
    public int show_pgc_subscribe;

    @Expose
    public String video_third_monitor_url;

    @Expose
    public String video_id;

    @Expose
    public int video_watching_count;

    @Expose
    public int video_watch_count;

    @Expose
    public List<?> video_url;

    //自己新增的字段，记录视频播放的进度，用于同步视频列表也和详情页的进度
    public int progress;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
